package com.xoms.pad.controller.springmvc.req;


import javax.validation.constraints.Pattern;

/**
 * 修改密码
 **/
public class UpdatePasswordParam {
	@Pattern(regexp = "^[a-zA-Z0-9]{5,17}$", message = "密码格式不正确")
	private String password; // 密码，大小写字母数字6-18
	@Pattern(regexp = "^[a-zA-Z0-9]{5,17}$", message = "新密码格式不正确")
	private String newPassword; // 密码，大小写字母数字6-18
	@Pattern(regexp = "^[a-zA-Z0-9]{5,17}$", message = "确认密码格式不正确")
	private String submitPassword; // 密码，大小写字母数字6-18

	public void setPassword(String password) {
 		this.password = password;
	}

	public String getPassword() {
 		return password;
	}

	public void setNewPassword(String newPassword) {
 		this.newPassword = newPassword;
	}

	public String getNewPassword() {
 		return newPassword;
	}

	public void setSubmitPassword(String submitPassword) {
 		this.submitPassword = submitPassword;
	}

	public String getSubmitPassword() {
 		return submitPassword;
	}

}
